网页设计的一个问题```

来源:百度知道 编辑:UC知道 时间:2024/05/10 07:29:47
--鼠标放到导航条某些文字/图片上,就在下方(或其他地方)出现相关内容
,同时文字/图片颜色可能改变,但是还不是链接 请问怎么做?

你看下是不是我传上来的图片的这种样式?业内喜欢称呼为“滑动门”。

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>

<html xmlns="http://www.w3.org/1999/xhtml";>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />

<title>我的滑动门</title>

<style type="text/css">

body{

color: #000;

font-family: "宋体", arial;

font-size: 12px;

background: #fff;

text-align: center;

margin: 0;

}

.nTab{

float: left;

width: 960px;

margin: 0 auto;

border-b